﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace AvaloniaApplication1.Models.DTOModel;

/// <summary>
/// ModbusCard组件数据模型
/// </summary>
public partial class ModbusCardModel:ObservableObject
{
    [ObservableProperty]
    private string _deviceName;
    
    [ObservableProperty]
    private bool _isConnected;
    
    [ObservableProperty]
    private string _connectionType;
    
    [ObservableProperty]
    private string _gatewayName;
    
    
    public ModbusCardModel(ModbusConfig modbusConfig)
    { 
    }
    
}